package com.simple.card.dataobject.tenantbank;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.simple.card.Utils.serializer.Date2LongSerializer;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class TBankbill {
    private Integer id;

    private String billId;

    private String cardId;

    private String userId;

    private String bankName;

    private String cardType;

    private String billMonth;

    private String billDate;

    private String paymentDueDate;

    private BigDecimal newBalance;

    private BigDecimal usdNewBalance;

    private BigDecimal minPayment;

    private BigDecimal usdMinPayment;

    private BigDecimal lastBalance;

    private BigDecimal usdLastBalance;

    private BigDecimal lastPayment;

    private BigDecimal usdLastPayment;

    private BigDecimal newCharges;

    private BigDecimal usdNewCharges;

    private BigDecimal interest;

    private BigDecimal usdInterest;

    private BigDecimal creditLimit;

    private BigDecimal usdCreditLimit;

    private BigDecimal cashLimit;

    private BigDecimal usdCashLimit;

    private BigDecimal adjust;

    private BigDecimal usdAdjust;

    private String cardNums;

    private String fullCardNums;

    private String nameOnCard;

    private Integer billItemCount;

    @JsonSerialize(using = Date2LongSerializer.class)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonSerialize(using = Date2LongSerializer.class)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastModifyTime;
}
